<div class="list_search_form" <?php if(Yii::app()->session['search_form_show']==1){?> style="display:block" <?php }?>>
	<?php $form=$this->beginWidget('CActiveForm', array(
		'action' => Yii::app()->createUrl($this->route),
		'method' => 'get',
	)); ?>
    <div>



        <span style="float:left">订单号</span>
        <span style="float:left">
		<?php echo CHtml::activeTextField($model,'order_no',  array('class'=>'text')) ?>
		</span>


        <span style="float:left">激活码</span>
        <span style="float:left">
		<?php echo CHtml::activeTextField($model,'code_str',  array('class'=>'text')) ?>
		</span>


        <span style="float:left;">&nbsp;状态</span>
        <span style="float:left;">
		<?php   echo CHtml::activeDropDownList($model,'status',array("0"=>"未使用","1"=>"已使用","2"=>"已废弃"),array('empty'=>Yii::t('admin','please select'))); ?>
		</span>


    </div>

    <div >
        <span ><?php echo CHtml::submitButton(Yii::t('admin','search'),array('class'=>'default_btn')); ?></span>
    </div>
	<?php $this->endWidget(); ?>
</div>
<style type="text/css">
	.updatecount{min-width:60px;height:25px;line-height:25px;display:table;background:#f6f6f6;color:#000;border:1px solid #cccccc;padding:0 10px;margin-left:15px;float: left;}
</style>
<!-- form -->
